package fr.poy.mygluco.client.gxt;

import com.extjs.gxt.ui.client.widget.MessageBox;
import com.google.gwt.user.client.rpc.AsyncCallback;

public class BaseAsyncCallback<T> implements AsyncCallback<T> {
	 
	public void onFailure(Throwable caught) { 
		caught.printStackTrace();  
		MessageBox.alert("Erreur", caught.getLocalizedMessage(),null);
	} 
	public void onSuccess(T result) { 
		 
	}
}
